package com.iweb.entity;

import lombok.*;

/**
 * @author ryl
 * @version 1.0
 * @data 2025/4/2 16:42
 * user表的实体类，用来关联数据库
 */
@Data
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;

    public User(String username, String password) {
        this.password = password;
        this.username = username;
    }

}
